Skip to content

ADFA-6319 | Align the Claude backend plugin with the shared prompt config and capability tags - #122

Merged
jatezzz merged 1 commit into
mainfrom
refactor/ADFA-6319-align-claude-plugin
Oct 7, 2026
Merged

jatezzz merged 1 commit into
mainfrom
refactor/ADFA-6319-align-claude-plugin

Conversation

@jatezzz

@jatezzz jatezzz commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Description

The Claude plugin worked differently from the other AI backends: its system prompt was hard-coded, the chat couldn't show which Claude model was active, and it kept its own copies of the settings-pane styling and the API-key show/hide control. This change makes it work like the other providers, with the same UX and less duplicate code to maintain.

Technical implementation:

  • The system prompt is now loaded from YAML in assets/prompts/ through plugin-api's shared prompt loader. The loader runs at activation and checks the files. If they can't load or render, the error is logged and AI Core's default prompt is used.
  • The plugin registers through LlmBackendRegistration, which keeps it registered across AI Core restarts and reports API-key/model changes. The capability tag uses that to show the active Claude model.
  • The settings pane uses AI Core's shared pane styling and secret-reveal helpers. The plugin's own copies are deleted.
  • AI Core's IdeContextReader now leaves out blank paths (the project root itself) from the open-files context.

Details

Screen_Recording_20261006_114153_Code.on.the.Go.mp4

Ticket

ADFA-6319

…elpers

Load the system prompt from YAML assets and reuse ai-core's pane styling and secret reveal. Point help to Agent prefs, fall back on render errors, and drop blank paths from ai-core's IDE context.

Refs: ADFA-6319
@jatezzz
jatezzz requested review from a team, Daniel-ADFA and itsaky-adfa October 6, 2026 16:44

@Daniel-ADFA Daniel-ADFA left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at a8d6a47; no correctness issues found.

@jatezzz
jatezzz merged commit c4a98ba into main Oct 7, 2026
1 check passed
@jatezzz
jatezzz deleted the refactor/ADFA-6319-align-claude-plugin branch October 7, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants